package com.qiniuyun.graph.common.enums;

import lombok.Getter;

@Getter
public enum ErrorCodeEnum {
    E000("成功"),
    E001("ip地址不存在"),
    E002("程序异常"),
    E003("签名错误");

    private String description;

    public String code() {
        return this.name().replaceAll("E", "");
    }

    ErrorCodeEnum(String description) {
        this.description = description;
    }
}
